package com.xuanwoa.rabbit.amqp.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Description
 *
 * @author: xuanwoa
 * @since: 2020/11/15
 */
@Configuration
public class AMQPConfig {
    @Bean
    public Queue myQueue() {
        return new Queue("myqueue");
    }
}
